/**
 * Created by shitao on 15/11/2.
 */
(function () {
    angular.module('my-tabs.controllers')
        .controller('frameCtrl', frameCtrl);
    frameCtrl.$inject = ['$scope', 'appService', '$stateParams'];

    function frameCtrl($scope, appService, $stateParams) {

        console.log('frameCtrl');

        var vm = this;
        var frameId = $stateParams.frameId;
        vm.frame = appService.getFrame(frameId);
    }
})();
